export const deviceTypeOption = {
    tooltip: {
        trigger: 'item',
        formatter: "{a} <br/>{b}: {c} ({d}%)"
    },
    series: [
        {
            name: '终端平台',
            type: 'pie',
            selectedMode: 'single',
            radius: [0, '34%'],
            color: ['#837BE7', '#F38A3C', '#348EED'],
            label: {
                normal: {
                    position: 'inner'
                }
            },
            labelLine: {
                normal: {
                    show: false
                }
            },
            data: [
                { value: 335, name: 'PC' },
                { value: 679, name: '平板' },
                { value: 1548, name: '手机' }
            ]
        },
        {
            name: '终端设备',
            type: 'pie',
            radius: ['45%', '65%'],
            color: ['#837BE7', '#E6BDF2', '#F38A3C', '#FFCC2D', '#348EED', '#3EA3D8', '#98C0FD'],
            data: [
                { value: 135, name: 'MAC OS' },
                { value: 200, name: 'Windows' },
                { value: 640, name: 'iPad' },
                { value: 39, name: '安卓平板' },
                { value: 1048, name: 'iPhone' },
                { value: 351, name: '安卓手机' },
                { value: 149, name: '其他' },
            ]
        }
    ]
};
